import React from 'react'

export default function Count() {

  const incrementHandle = () => {

  }

  const decreamentHandle = () => {

  }

  const ifOddDecrementHandle = () => {

  }

  const waitDecrementHandle = () => {

  }

  return (
    <div>
      <h1>我是Count组件 我的值是{ }</h1>
      <div>
        <button onClick={incrementHandle}>累加</button>
        <button onClick={decreamentHandle}>累减</button>
        <button onClick={ifOddDecrementHandle}>如果是奇数再加1</button>
        <button onClick={waitDecrementHandle}>等2s再加1</button>
      </div>

    </div>
  )
}
